<?php
class Block {
    private $module_name;
    
    public function init() {
        $this->db = tos_get_db();
    }
    
    
    public function set_module_name($module_name) {
        $this->module_name = $module_name;
    }
    
    public function model($model_name) {
        return tos_model($this->module_name, $model_name);
    }
    
    /*
    protected function _m($model_name) {
        return $this->module->model($model_name);
    }
    */
}
?>